Skip to main content

Import

Usage

Return Type: UseOpenWalletModalReturnType

The hook returns an object with the following properties:

Properties

setOpenWalletModal

(isOpen: boolean, options?: WalletOptions) => void Function to open or close the Wallet modal. Parameters:

openWalletModalState

boolean The current open state of the Wallet modal (true if open, false if closed).

Notes

This hook provides methods to control the Wallet Inventory modal that allows users to view their tokens and NFTs. The Wallet modal displays all tokens, NFTs and collectibles present in the connected wallet.